package com.yzy.soft.common.persistence.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author yinzhiyuan
 * @since 2018-01-28
 */
public class Dataextractrules extends Model<Dataextractrules> {

    private static final long serialVersionUID = 1L;
	@TableId(value = "ruledefid", type = IdType.UUID)
	private String versionno;
	private String ruledefid;
	private String ruledefname;
	private String ruletype;
	private String indexcode;
	private String indexcolumn;
	private Integer dealorder;
	private String remark;
	private String rulestate;


	public String getVersionno() {
		return versionno;
	}

	public void setVersionno(String versionno) {
		this.versionno = versionno;
	}

	public String getRuledefid() {
		return ruledefid;
	}

	public void setRuledefid(String ruledefid) {
		this.ruledefid = ruledefid;
	}

	public String getRuledefname() {
		return ruledefname;
	}

	public void setRuledefname(String ruledefname) {
		this.ruledefname = ruledefname;
	}

	public String getRuletype() {
		return ruletype;
	}

	public void setRuletype(String ruletype) {
		this.ruletype = ruletype;
	}

	public String getIndexcode() {
		return indexcode;
	}

	public void setIndexcode(String indexcode) {
		this.indexcode = indexcode;
	}

	public String getIndexcolumn() {
		return indexcolumn;
	}

	public void setIndexcolumn(String indexcolumn) {
		this.indexcolumn = indexcolumn;
	}

	public Integer getDealorder() {
		return dealorder;
	}

	public void setDealorder(Integer dealorder) {
		this.dealorder = dealorder;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getRulestate() {
		return rulestate;
	}

	public void setRulestate(String rulestate) {
		this.rulestate = rulestate;
	}

	@Override
	protected Serializable pkVal() {
		return this.ruledefid;
	}

	@Override
	public String toString() {
		return "Dataextractrules{" +
			"versionno=" + versionno +
			", ruledefid=" + ruledefid +
			", ruledefname=" + ruledefname +
			", ruletype=" + ruletype +
			", indexcode=" + indexcode +
			", indexcolumn=" + indexcolumn +
			", dealorder=" + dealorder +
			", remark=" + remark +
			", rulestate=" + rulestate +
			"}";
	}
}
